package com.huanghao.pojo;

import java.sql.Date;
import java.time.LocalDateTime;

public class Commod {
    private Integer cNumber; //商品编号
    private String cName;//商品名称
    private Integer cInventory;//商品库存
    private Integer cPrice;//商品价格
    private Integer cSales;//商品销量
    private Date cData; //入库时间
	private Integer flag;//状态
	public Integer getcNumber() {
		return cNumber;
	}
	public void setcNumber(Integer cNumber) {
		this.cNumber = cNumber;
	}
	public String getcName() {
		return cName;
	}
	public void setcName(String cName) {
		this.cName = cName;
	}
	public Integer getcInventory() {
		return cInventory;
	}
	public void setcInventory(Integer cInventory) {
		this.cInventory = cInventory;
	}
	public Integer getcPrice() {
		return cPrice;
	}
	public void setcPrice(Integer cPrice) {
		this.cPrice = cPrice;
	}
	public Integer getcSales() {
		return cSales;
	}
	public void setcSales(Integer cSales) {
		this.cSales = cSales;
	}
	public Date getcData() {
		return cData;
	}
	public void setcData(Date cData) {
		this.cData = cData;
	}
	public Integer getFlag() {
		return flag;
	}
	public void setFlag(Integer flag) {
		this.flag = flag;
	}
	public Commod(Integer cNumber, String cName, Integer cInventory, Integer cPrice, Integer cSales, Date cData,
			Integer flag) {
		super();
		this.cNumber = cNumber;
		this.cName = cName;
		this.cInventory = cInventory;
		this.cPrice = cPrice;
		this.cSales = cSales;
		this.cData = cData;
		this.flag = flag;
	}
	public Commod() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Commod [cNumber=" + cNumber + ", cName=" + cName + ", cInventory=" + cInventory + ", cPrice=" + cPrice
				+ ", cSales=" + cSales + ", cData=" + cData + ", flag=" + flag + "]";
	}

}
